{extend name="public/base"}
{block name='main'}
<fieldset class="layui-elem-field layui-field-title" style="margin-top:0px;">
  <legend>{$menuid|getmenuname}</legend>
</fieldset>
<form class="layui-form layui-form-pane" action="">
  <input type="hidden" name="menuid"  value="{$menuid}"/>
  <div class="layui-form-item" pane="">
    <label class="layui-form-label">是否开启</label>
    <div class="layui-input-block">
      <input type="radio" title="开启" {if ($web_config.gonggao_status == 1)}checked="checked"{/if} value="1" name="setting[gonggao_status]">
      <input type="radio" title="关闭" {if ($web_config.gonggao_status == 0)}checked="checked"{/if} value="0" name="setting[gonggao_status]">

    </div>
  </div>

  <div class="layui-form-item">
    <label class="layui-form-label">公告内容</label>
    <div class="layui-input-block">
      <textarea placeholder="请输公告内容" name="setting[gonggao_protocol]" id="closed_reason" class="layui-textarea">{$web_config.gonggao_protocol}</textarea>
    </div>

  </div>

  <div class="layui-form-item">
    <label class=""></label>
    <div class="layui-input-block">
      <button class="layui-btn" lay-submit="" lay-filter="upbtn">提交保存</button>
    </div>
  </div>
</form>


{include file='config/config_common'}
{/block}